package cn.myfirefly.moming.house.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "spf_trade_contract_webimage")
public class SpfTradeContractWebimage extends BasePO implements java.io.Serializable {
		
	/**
	 * 
	 */
	private static final long serialVersionUID = 6910718533095413205L;
	//columns START
	/** ID */
	private Integer id;
	/** ID */
	private Integer tradeContractId;
	/** 图片地址 */
	private String imgUrl;
	//columns END

	/**
	 * ID
	 * @return
	 */
	@Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setId(Integer value) {
		this.id = value;
	}
		
	/**
	 * ID
	 * @return
	 */
	@Column(name = "trade_contract_id", nullable = true)
	public Integer getTradeContractId() {
		return this.tradeContractId;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setTradeContractId(Integer value) {
		this.tradeContractId = value;
	}
		
	/**
	 * 图片地址
	 * @return
	 */
	@Column(name = "img_url", nullable = true)
	public String getImgUrl() {
		return this.imgUrl;
	}
	
	/**
	 * 图片地址
	 * @param value
	 */
	public void setImgUrl(String value) {
		this.imgUrl = value;
	}
		
}

